package com.kws.system.mapper.payment;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kws.system.domain.payment.TbDivisionRule;
import com.kws.system.domain.payment.info.QueryDivisionRuleInfo;
import com.kws.system.domain.payment.rq.QueryDivisionRuleRq;
import org.apache.ibatis.annotations.Param;

public interface DivisionRuleMapper extends BaseMapper<TbDivisionRule> {
    Page<QueryDivisionRuleInfo> queryDivisionRulePage(@Param("page") Page<QueryDivisionRuleInfo> page, @Param("query") QueryDivisionRuleRq query);

    QueryDivisionRuleInfo queryDivisionRuleById(@Param("id") Long id);
}
